package com.ruoyi.system.domain.construction;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 施工队图片信息对象 construction_pic_info
 * 
 * @author 张少丛
 * @date 2020-11-04
 */
public class ConstructionPicInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 施工队图片ID */
    private Integer constructionPicId;

    /** 施工队ID */
    @Excel(name = "施工队ID")
    private Integer constructionInfoId;

    /** 图片描述 */
    @Excel(name = "图片描述")
    private String infoDesc;

    /** 图片URL */
    @Excel(name = "图片URL")
    private String conUrl;

    /** 是否主图：0.非主图1.主图 */
    @Excel(name = "是否主图：0.非主图1.主图")
    private String isMaster;

    /** 图片排序 */
    @Excel(name = "图片排序")
    private Integer conOrder;

    /** 图片是否有效：0无效 1有效 */
    @Excel(name = "图片是否有效：0无效 1有效")
    private String conStatus;

    /** 最后修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifiedTime;

    private ConstructionInfo constructionInfo;

    /** 删除标识 */
    private String delFlag;

    /** 施工人员组 */
    private List<Long> constructionInfoIds;

    public void setConstructionPicId(Integer constructionPicId) 
    {
        this.constructionPicId = constructionPicId;
    }

    public Integer getConstructionPicId() 
    {
        return constructionPicId;
    }
    public void setConstructionInfoId(Integer constructionInfoId) 
    {
        this.constructionInfoId = constructionInfoId;
    }

    public Integer getConstructionInfoId() 
    {
        return constructionInfoId;
    }
    public void setInfoDesc(String infoDesc) 
    {
        this.infoDesc = infoDesc;
    }

    public String getInfoDesc() 
    {
        return infoDesc;
    }
    public void setConUrl(String conUrl) 
    {
        this.conUrl = conUrl;
    }

    public String getConUrl() 
    {
        return conUrl;
    }
    public void setIsMaster(String isMaster)
    {
        this.isMaster = isMaster;
    }

    public String getIsMaster()
    {
        return isMaster;
    }
    public void setConOrder(Integer conOrder)
    {
        this.conOrder = conOrder;
    }

    public Integer getConOrder()
    {
        return conOrder;
    }
    public void setConStatus(String conStatus)
    {
        this.conStatus = conStatus;
    }

    public String getConStatus()
    {
        return conStatus;
    }
    public void setModifiedTime(Date modifiedTime) 
    {
        this.modifiedTime = modifiedTime;
    }

    public Date getModifiedTime() 
    {
        return modifiedTime;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public ConstructionInfo getConstructionInfo() {
        return constructionInfo;
    }

    public void setConstructionInfo(ConstructionInfo constructionInfo) {
        this.constructionInfo = constructionInfo;
    }

    public List<Long> getConstructionInfoIds() {
        return constructionInfoIds;
    }

    public void setConstructionInfoIds(List<Long> constructionInfoIds) {
        this.constructionInfoIds = constructionInfoIds;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("constructionPicId", getConstructionPicId())
            .append("constructionInfoId", getConstructionInfoId())
            .append("infoDesc", getInfoDesc())
            .append("conUrl", getConUrl())
            .append("isMaster", getIsMaster())
            .append("conOrder", getConOrder())
            .append("conStatus", getConStatus())
            .append("modifiedTime", getModifiedTime())
            .append("delFlag", getDelFlag())
                .append("constructionInfo", getConstructionInfo())
            .toString();
    }
}
